/**
 * 判断两个json数组是否相等
 * @param {旧数组，新数组}
 * @return true数组不相等
 */
export function hasChangedJsonList (oldList, newList) {
  let flag = false;
  if(oldList.length !== newList.length){
    return true;
  }
  oldList.some((item, index) => {
    flag = JSON.stringify(item) !== JSON.stringify(newList[index]);
    return flag;
  })
  return flag;
}